package design.simdi.code.final_paper.core.daos;

import it.openutils.dao.hibernate.HibernateDAO;
import it.openutils.dao.hibernate.HibernateDAOImpl;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import design.simdi.code.final_paper.core.entities.StudentCandidat;

/**
 * 
 * @author Marius Dumitriu - (Jun 24, 2010 - 3:36:59 PM)
 * 
 */
public interface StudentCandidatDao extends HibernateDAO<StudentCandidat, Long> {
	@Repository(value = "studentCandidatDao")
	public static class StudentCandidatDaoImpl extends HibernateDAOImpl<StudentCandidat, Long> implements
			StudentCandidatDao {

		@Autowired
		public StudentCandidatDaoImpl(SessionFactory factory) {
			setSessionFactory(factory);
			setReferenceClass(StudentCandidat.class);
		}

	}
}
